package orm;
import java.util.ArrayList;
import java.util.Date;

public class Exercise {

	private int _exercise_id;
	private int _fitnessdata_fk;
	private String _exerciseName;
	private Date _date;
	private ArrayList<Set> _unitList = new ArrayList<Set>();
	
	/**
	 * 
	 * @param exercise_id
	 * @param fitnessdata_fk
	 * @param exerciseName_fk
	 * @param date
	 */
	public Exercise(int exercise_id, int fitnessdata_fk, String exerciseName, Date date ){
		setExercise_id(exercise_id);
		setFitnessdata_fk(fitnessdata_fk);
		setExerciseName_fk(exerciseName);
		setDate(date);
	}

	/**
	 * @return the _exercise_id
	 */
	public int getExercise_id() {
		return _exercise_id;
	}

	/**
	 * @param exercise_id the _exercise_id to set
	 */
	public void setExercise_id(int _exercise_id) {
		this._exercise_id = _exercise_id;
	}

	/**
	 * @return the fitnessdata_fk
	 */
	public int getFitnessdata_fk() {
		return _fitnessdata_fk;
	}

	/**
	 * @param fitnessdata_fk the _fitnessdata_fk to set
	 */
	public void setFitnessdata_fk(int fitnessdata_fk) {
		this._fitnessdata_fk = fitnessdata_fk;
	}

	/**
	 * @return the exerciseName
	 */
	public String getExerciseName() {
		return _exerciseName;
	}

	/**
	 * @param exerciseName_fk the _exercise_name_fk to set
	 */
	public void setExerciseName_fk(String exerciseName) {
		this._exerciseName = exerciseName;
	}

	/**
	 * @return the _date
	 */
	public Date getDate() {
		return _date;
	}

	/**
	 * @param _date the _date to set
	 */
	public void setDate(Date _date) {
		this._date = _date;
	}

	/**
	 * @return the _unitList
	 */
	public ArrayList<Set> getSetList() {
		return _unitList;
	}

	/**
	 * @param unitList the _unitList to set
	 */
	public void setSetList(ArrayList<Set> setList) {
		this._unitList = setList;
	}
}
